package com.sali.b_design_pattern.g_singleton_pattern.lesson_singleton.c_registration_form.map;

/**
 * @description:
 * @author: zhang hang
 * @date: 2023/3/19 14:08.
 * @version: 1.0
 */
public class MapSingletonStarter {

    public static void main(String[] args) {
        Object bean1 = ContainSingleton.getBean("com.sali.design_pattern.g_singleton_pattern.map.HelloEntity");
        Object bean2 = ContainSingleton.getBean("com.sali.design_pattern.g_singleton_pattern.map.HelloEntity");
        System.out.println(bean1 == bean2);
    }

}
